//
//  UIControl+Event.h
//  框架
//
//  Created by mayanwei on 14-9-4.
//  Copyright (c) 2014年 mayanwei. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^UIControlBlocksActionBlock)(UIControl *sender, UIEvent *event);

@interface UIControl (Event)

- (id)addActionForControlEvents:(UIControlEvents)controlEvents
                     usingBlock:(UIControlBlocksActionBlock)block;

- (void)removeAllActions;

- (void)removeAction:(id)action;

@end
